

import { createApp } from 'vue'
import App from '@/App.vue'
import { createPinia } from 'pinia'
import { router } from '@/router/router'

import Echarts from 'vue-echarts'
import * as echarts from 'echarts'

const app = createApp(App)

const pinia = createPinia()
app.component('e-charts', Echarts)
app.config.globalProperties.$echarts = echarts
app.use(pinia)
app.use(router)

app.mount('#app')
